<?php
defined('BASEPATH') OR exit('No direct script access allowed');


class HelperTools extends CI_Controller
{

	public function __construct()
	{
		parent::__construct();
	//	$this->load->model('Access_Token_Model');
		$this->load->helper('url_helper');
	}
	/**
	 * Index Page for this controller.
	 *
	 * Maps to the following URL
	 *        http://example.com/index.php/welcome
	 *    - or -
	 *        http://example.com/index.php/welcome/index
	 *    - or -
	 * Since this controller is set as the default controller in
	 * config/routes.php, it's displayed at http://example.com/
	 *
	 * So any other public methods not prefixed with an underscore will
	 * map to /index.php/welcome/<method_name>
	 * @see https://codeigniter.com/user_guide/general/urls.html
	 */
	public function index()
	{
		$data=array('title'=>'诉讼工具');
		$tools_array=array();
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/RateTools/PerformRateTool.html',
			'title'=>'迟延履行利息计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/RateTools/RateTool.html',
			'title'=>'利息利率计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/DemolitionTool/DemolitionTool.htm',
			'title'=>'拆迁安置补偿计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/worktool/worktool.html',
			'title'=>'劳动争议赔偿计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/latigattool/latigattool.html',
			'title'=>'诉讼费用计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/LandTool/LandToolTool.htm',
			'title'=>'征地赔偿计算工具');
		array_push($tools_array,$accrual_delay_calc);
		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/pay/PayTool.html',
			'title'=>'人身损害赔偿计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/startLawTime/startTool.htm',
			'title'=>'公告开庭日期计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/FielHearDateTool/FielHearDateTool.htm',
			'title'=>'立案审理期限计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/TimeAllowance/timeTool.htm',
		'title'=>'刑期折抵计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/DateExchange/DateTool.htm',
			'title'=>'日期计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$accrual_delay_calc=array('url'=>'http://tool.zjsfgkw.cn/HelperTools/Tools/InherDisputeTool/InherTool.htm',
			'title'=>'继承纠纷计算工具');
		array_push($tools_array,$accrual_delay_calc);

		$data['tools_array']=$tools_array;
		$this->load->view('head_sec',$data);
		$this->load->view('helper_tools',$data);
		$this->load->view('foot_sec',$data);
	}

}


